package org.world.domain.aggregate.animal.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.mc.ddd.infrastructure.persistent.Entity;
import org.world.domain.aggregate.animal.constant.GenderEnum;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public abstract class Animal extends Entity<Animal> {
    private String name;

    private GenderEnum gender;

    private Boolean isPregnant;

    private Long motherId;

    private LocalDateTime gaveBirthTime;
}
